package com.rowline.admin.module.study.jdknewfeature;

/**
 * ClassName:Person
 * Created by 245167
 * on 2018/5/4  04:35
 * description:
 */
public class Person{

    private String name;

    private int age;

    public Person() {
        this.name = "kitty";
        this.age = 10;
    }

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
